
package webservices.framework.affilinet.types;

import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Java class for Logon complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="Logon">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="Username" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="Password" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="WebServiceType" type="{http://affilinet.framework.webservices/types}WebServiceTypes"/>
 *         &lt;element name="DeveloperSettings" type="{http://affilinet.framework.webservices/types}TokenDeveloperDetails" minOccurs="0"/>
 *         &lt;element name="ApplicationSettings" type="{http://affilinet.framework.webservices/types}TokenApplicationDetails" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Logon", propOrder = {
    "username",
    "password",
    "webServiceType",
    "developerSettings",
    "applicationSettings"
})
public class Logon {

    @XmlElementRef(name = "Username", namespace = "http://affilinet.framework.webservices/types", type = JAXBElement.class)
    protected JAXBElement<String> username;
    @XmlElementRef(name = "Password", namespace = "http://affilinet.framework.webservices/types", type = JAXBElement.class)
    protected JAXBElement<String> password;
    @XmlElement(name = "WebServiceType", required = true)
    protected WebServiceTypes webServiceType;
    @XmlElementRef(name = "DeveloperSettings", namespace = "http://affilinet.framework.webservices/types", type = JAXBElement.class)
    protected JAXBElement<TokenDeveloperDetails> developerSettings;
    @XmlElementRef(name = "ApplicationSettings", namespace = "http://affilinet.framework.webservices/types", type = JAXBElement.class)
    protected JAXBElement<TokenApplicationDetails> applicationSettings;

    /**
     * Gets the value of the username property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getUsername() {
        return username;
    }

    /**
     * Sets the value of the username property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setUsername(JAXBElement<String> value) {
        this.username = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the password property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public JAXBElement<String> getPassword() {
        return password;
    }

    /**
     * Sets the value of the password property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link String }{@code >}
     *     
     */
    public void setPassword(JAXBElement<String> value) {
        this.password = ((JAXBElement<String> ) value);
    }

    /**
     * Gets the value of the webServiceType property.
     * 
     * @return
     *     possible object is
     *     {@link WebServiceTypes }
     *     
     */
    public WebServiceTypes getWebServiceType() {
        return webServiceType;
    }

    /**
     * Sets the value of the webServiceType property.
     * 
     * @param value
     *     allowed object is
     *     {@link WebServiceTypes }
     *     
     */
    public void setWebServiceType(WebServiceTypes value) {
        this.webServiceType = value;
    }

    /**
     * Gets the value of the developerSettings property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link TokenDeveloperDetails }{@code >}
     *     
     */
    public JAXBElement<TokenDeveloperDetails> getDeveloperSettings() {
        return developerSettings;
    }

    /**
     * Sets the value of the developerSettings property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link TokenDeveloperDetails }{@code >}
     *     
     */
    public void setDeveloperSettings(JAXBElement<TokenDeveloperDetails> value) {
        this.developerSettings = ((JAXBElement<TokenDeveloperDetails> ) value);
    }

    /**
     * Gets the value of the applicationSettings property.
     * 
     * @return
     *     possible object is
     *     {@link JAXBElement }{@code <}{@link TokenApplicationDetails }{@code >}
     *     
     */
    public JAXBElement<TokenApplicationDetails> getApplicationSettings() {
        return applicationSettings;
    }

    /**
     * Sets the value of the applicationSettings property.
     * 
     * @param value
     *     allowed object is
     *     {@link JAXBElement }{@code <}{@link TokenApplicationDetails }{@code >}
     *     
     */
    public void setApplicationSettings(JAXBElement<TokenApplicationDetails> value) {
        this.applicationSettings = ((JAXBElement<TokenApplicationDetails> ) value);
    }

}
